home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C/C++ Users Group Library 1996 July
/
C-C++ Users Group Library July 1996.iso
/
listings
/
v_09_11
/
9n11068a
< prev
next >
Wrap
Text File
|
1991-08-27
|
165b
|
14 lines
Listing 1:
fib (n) int n;
{
int result;
if (n <= 2) return 1;
result = fib(n - 1) + fib(n - 2);
return result;
}